public class Examplel12_7 {
	public static void main (String args[]){
		Bank bank=new Bank();
		bank.setMoney(200);
		Thread accountant,
			cashier;
		accountant=new Thread(bank);
		cashier=new Thread(bank);
		accountant.setName("会计");
		cashier.setName("出纳");
		accountant.start();
		cashier.start();
	}
}